package com.pattern.structure.decorator;

/**
 * @author yangguanzan
 * @date 4/3/22
 * @description
 */
public abstract class BaseDecorator implements BaseComponent {

    private BaseComponent component;
    public BaseDecorator(BaseComponent component) {
        this.component = component;
    }

    @Override
    public  void operation() {
        this.component.operation();
    }
}
